@section("page-index")
<div data-page="{{$pageId or 'page-index'}}" class="page navbar-fixed page-current">
	<!-- Top Navbar-->
	<div class="navbar {{empty($mainbar) ? 'text-navbar' : 'logo-navbar'}}">
		<div class="navbar-inner">
			<div class="left">
				<!-- Right link contains only icon - additional "icon-only" class-->
				<a href="#" class="link open-panel"> 
				<!-- 
				<i class="icon2 icon-menu"></i>-->
				<i class="menu"></i>
				</a>
			</div>
			@if(!empty($mainbar))
			<!-- We have home navbar without left link-->
			<div class="center">
				<a href="{{URL::to('/')}}" class="external">
				<img alt="" src="{{URL::to('assets/i/wap_logo.png')}}" class="logo"/>
				</a>
			</div>
			@else
			<div class="center title">{{$pageTitle}}</div>
			@endif
			<div class="right">
				<!-- Right link contains only icon - additional "icon-only" class-->
				<a href="#" class="link external" id="cart-action"> <i class="icon2 icon-bag"></i> <span id="cart-size">0</span>
				</a>
			</div>
		</div>
	</div>
	<!-- Scrollable page content-->
	@if (empty($pages))
	  <div class="page-content">
	@else
	 <div class="page-content infinite-scroll" data-pages="{{$pages}}">
	@endif
		
		@section("page-content-wrap")
		<div class="fullscreen">
		@section("page-content") @show
		</div>
		@show
		<div class="toolbar">
		    <div class="toolbar-inner {{empty($home) ? 'flex-center' : ''}}">
		    	@if(!empty($home))
		        <a href="#" class="link copyright" style="font-size: 11px;">&copy; {{date('Y',time())}} MAGGIE MAO The Floral Art</a>
		        <span class="privacy"><a href="{{URL::to('privacy')}}" class="link external">隐私声明</a> | <a href="{{URL::to('terms')}}" class="link external">条款条件</a></span>
		        @else
		        	<a href="#" class="link copyright">&copy; {{date('Y',time())}} MAGGIE MAO The Floral Art</a>
		        @endif
		    </div>
		</div>
	</div>
</div>
@stop